package com.woniuxy.carrental.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 合同表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Contract {
    //主键
    private Integer contractId;
    //客户外键
    private Integer uid;
    //合同开始时间
    private Date beginTime;
    //合同结束时间
    private  Date overTime;
    //合同编号
    private String contractNuber;
    //一张合同对应一个人
    private  User user;
}
